#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "LadderLog.h"

int _log_ladder_level = 0;
int _log_ladder_space = 4;

char* _log_ladder() {
    // extern int _log_ladder_level;
    // extern int _log_ladder_space;
    long memsize = sizeof(char) * _log_ladder_level;
    char* _ladder = (char*)malloc(memsize);
    memset(_ladder, ' ', memsize);
    _ladder[memsize] = '\0';
    return _ladder;
}
void _print_ladder(){
    char *_ladder = (char *)_log_ladder();
    printf("%s", _ladder);
} 
